Phase 1: Project Setup & Planning▼
- Define project scope
- Project tools: Git (GitHub/GitLab), Trello/Jira, Slack
- Tech stack: Laravel, React + Vite, MySQL, Sanctum,
Subdomain-based tenant detection
Phase 2: Laravel API Backend Development
▼
- Install Laravel and Sanctum
- Create Tenant model and middleware for subdomain detection
- Build user auth APIs and token handling
- Add tenant-aware models and global scopes
- Create CRUD APIs for products and orders
Phase 3: React Frontend with Vite
▼
- Setup Vite + React
- Implement login and dashboard pages
- Integrate with backend using Axios and token auth
- Pages: Overview, Products, Orders, Profile
Phase 4: Multitenancy Logic & Subdomain Routing▼
- Configure local subdomains (e.g., vendor1.localhost)
- Middleware for tenant identification
- Apply tenant-based restrictions and scopes
Phase 5: Admin Super Panel ▼
- Laravel Blade or React panel for admin
- Features: View/manage vendors, suspend/delete, global reports
Phase 6: Hosting & Deployment
▼
- Suggested hosting: Hostinger, AWS EC2, VPS
- Wildcard SSL setup (*.yourdomain.com)
- Domain and environment configuration
Phase 7: Project Demonstration & Feedback
▼
- Create README and API docs
- Record demo video
- Peer code reviews and final presentation